package com.lucy.nepu.module.property.event;

import com.lucy.nepu.module.htopic.entity.HorTopic;
import com.lucy.nepu.module.property.entity.Property;
import lombok.Getter;
import org.springframework.context.ApplicationEvent;

import java.time.Clock;

@Getter
public class PropertyDeletedEvent extends ApplicationEvent {
    Property property;
    public PropertyDeletedEvent(Object source, Property property) {
        super(source);
        this.property = property;
    }

    public PropertyDeletedEvent(Object source, Clock clock) {
        super(source, clock);
    }
}
